﻿using Microsoft.Extensions.DependencyInjection;

using RESTfulDemo.Services;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RESTfulDemo.UnitTests {
    public class Startup {
        public void ConfigureServices(IServiceCollection services) {
            services.AddSqlSugarSingleton(SqlSugar.DbType.MySql, "mysql");
            services.AddTransient<IService, StudentInfoService>();
        }
    }
}
